/**
 * lilang
 * ActivityInstanceDao.java
 * 2013-10-26下午2:20:34
 */
package com.cq.oa.dao.wfc;

import org.hibernate.SQLQuery;

import oa.base.hibernate.EntityHibernateDao;

import com.cq.oa.domain.wfc.ActivityInstanceHis;

/**
 * @author lilang
 *
 */
public class ActivityInstanceHisDao extends EntityHibernateDao<ActivityInstanceHis>{

	public void doBackHist(String businessId){
		SQLQuery query = super.getSession().createSQLQuery("insert into wfc_activity_instance_his select * from wfc_activity_instance where business_id='"+businessId+"'");
		query.executeUpdate();
	}
}
